﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class father
    {
        private string name { get; set; }
        private string nikename { get; set; }
        private string horeinfo { get; set; }
        private int attack { get; set; }
        private int defense { get; set; }
        private int speed { get; set; }

        public father(string name, string nikename, string horeinfo, int attack, int defense, int speed)
        {

            this.name = name;
            this.nikename = nikename;
            this.horeinfo = horeinfo;
            this.attack = attack;
            this.defense = defense;
            this.speed = speed;
        }

        public void Farthertest()
        {
            Console.WriteLine("我是{0}，我的昵称是{1}，我的信息是{2}，我的攻击力为{3}，我的防御力为{4}，我的速度为{5}", 
                            this.name, this.nikename, this.horeinfo, this.attack, this.defense, this.speed);
        }


    }
}
